package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_point_withdrawal")
public class PointWithdrawal {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer adminId; // 用户ID
    private Integer point; // 积分数量
    private double money; // 提现金额
    private String zfbName; // 收款方姓名
    private String zfbAccount; // 支付宝账号
    private Integer status = 0; // 状态: 0待审核, 2 已打款
    private long applyTime; // 创建时间
    private long payTime; // 付款时间
    @TableField(exist = false)
    private String adminPhone;
    @TableField(exist = false)
    private Integer totalPoint; // 提现后积分数量
}
